make js support compile with older debian/ubuntu packaging svn path=/trunk/netsurf/; revision=13990
Patch by Paul Waring. svn path=/trunk/netsurf/; revision=13880
svn path=/trunk/netsurf/; revision=13570