Cleanup some js unused args