Changing js code placement.