Twilight: Some tweaks for JS