remove key.up in platform.js and add some new files