adding default option for use_js