check javascript support