reorganize JS assets