move to apple.js