removing some unnecessary js from example file