Some more changes: javascript support, remove backup files