Cleanup and simplify JS code

Change-Id: I393e22763c1a1d18878026bf459b747b150429fb
diff --git a/package.json b/package.json
index 114373b..87b80bd 100755
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
   "name": "Kalamar",
   "description": "Mojolicious-based Frontend for KorAP",
   "license" : "BSD-2-Clause",
-  "version": "0.25.3",
+  "version": "0.25.4",
   "repository" : {
     "type": "git",
     "url": "https://github.com/KorAP/Kalamar.git"