the following appears to be nothing, you may want to include it. also, pointless exercise since jquery is written in javascript, and just javascript tooling to make creating certain scripts easier in some cases, so if it works, it's pointless converting it.