Update with textures
Fix JSHint errors