Optimized website.js
Optimizations are done

There are still two different javascript files that share much in common
and should be united.

Also performance on Firefox is still lackluster