Removed unused Javascript parameters