Added js_required helper