cleaned up nsfw toggle js and moved it to plugin file for the time-being