Expose has_javascript and device dimensions