Converted to Javascript. Because Javascript is normal.