Can Javascript calls removed?