fixing path of js and texture