Fix platform js import