moved js to file
Merge brt pushanch 'master' of github.com:lizter/it2805-project