I have no idea how to write javascript