UI Scripts fixes

Removed jquery dependencies.
Loading scripts at the end.