JavaScript is stupid
Make this work plz.