require js plugin example