refactored to use only one resource class, since tomcat won't find more than one; added run-script with debug options within JAVA_OPTS; moved javascript to extrac file