removed the main reference to js