Corrected order of js-libraries import