test loading using preloadjs