Started moving pages js into new folder