move js to end to see if performance change