ADD: setting javascript enable