moved javascript into plugin directory