JS now uses relative path

Simple fix for work with relative path for scripts.
It's needed when you want to install Jii in different folder (for example in extenstion folder)