Better errors, removed old js plugin