Make inline js plugin