added js reference to each page