Remove js comments and change to relative path