added functions and external scripts

added javascript base files with query 1.8.3 and external scripts
(fitvids, modernize…)