check javascript support in red