Add Javascript to platforms