Including platform.js in index with tests passing