fixing js paths