Removing js dependencies