Updated preloader to don't inpret image as a part of a directory name
Updated JSHint compability
Added prefab.js