each view executes it's own javascript if we want