BISERVER-10566

Moved backbone, underscore and query libs to the beginning of the file to fix resource loading