fix JS assets paths