Moving to JS because I'm horrible like that.