some js to option file