Remove JS-specific code