refactor get platform.js working, more gulp, better coords on canvas