[SinglePage] replaced several foundation js files with a single
[SinglePage] replaced several foundation js files with a single and some fixes for firefox