Fixed bug where javascript lib order was not being set. Simplified lib configuration, directory is not needed