removing js references