Changed the order of js library loading

Was getting and erro of ko not defined.
Retrying commit

Previous commit failed