Fixed js resources urls.
Added .gitignore to master.