--- prototypejs-1.7.1.orig/prototype-1.7.1.js
+++ prototypejs-1.7.1/prototype-1.7.1.js
@@ -725,7 +725,7 @@
 
   function evalJSON(sanitize) {
     var json = this.unfilterJSON(),
-        cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
+	cx = /[\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff\u0000]/g;
     if (cx.test(json)) {
       json = json.replace(cx, function (a) {
         return '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
--- prototypejs-1.7.1.orig/debian/rules
+++ prototypejs-1.7.1/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh ${@}
--- prototypejs-1.7.1.orig/debian/watch
+++ prototypejs-1.7.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.prototypejs.org/download .*prototype-(.*).js
--- prototypejs-1.7.1.orig/debian/compat
+++ prototypejs-1.7.1/debian/compat
@@ -0,0 +1 @@
+7
--- prototypejs-1.7.1.orig/debian/control
+++ prototypejs-1.7.1/debian/control
@@ -0,0 +1,19 @@
+Source: prototypejs
+Section: web
+Priority: optional
+Maintainer: Frank Habermann <lordlamer@lordlamer.de>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.4
+Homepage: http://www.prototypejs.org/
+
+Package: libjs-prototype
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: JavaScript Framework for dynamic web applications
+ Prototype is a JavaScript Framework that aims to ease development of dynamic
+ web applications.
+ .
+ Featuring a unique, easy-to-use toolkit for class-driven development and the
+ nicest Ajax library around, Prototype is quickly becoming the codebase of
+ choice for web application developers everywhere.
--- prototypejs-1.7.1.orig/debian/libjs-prototype.install
+++ prototypejs-1.7.1/debian/libjs-prototype.install
@@ -0,0 +1 @@
+prototype*.js	/usr/share/javascript/prototype
--- prototypejs-1.7.1.orig/debian/changelog
+++ prototypejs-1.7.1/debian/changelog
@@ -0,0 +1,116 @@
+prototypejs (1.7.1-3.14.201411031408) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Mon, 03 Nov 2014 14:08:30 +0100
+
+prototypejs (1.7.1-3) unstable; urgency=low
+
+  * Reorder JSON regexp class to unbreak on Opera 9 (Closes: #647596)
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Tue, 28 May 2013 20:34:00 +0200
+
+prototypejs (1.7.1-2) unstable; urgency=low
+
+  * fixed wrong symlinks to prototypejs (Closes: #709770)
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Sun, 26 May 2013 20:55:00 +0200
+
+prototypejs (1.7.1-1) unstable; urgency=low
+
+  * New upstream version
+  * changed standards version to 3.9.4
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Fri, 24 May 2013 22:47:00 +0200
+
+prototypejs (1.7.0-2) unstable; urgency=low
+
+  * push package to unstable
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Sun, 06 Mar 2011 20:48:00 +0200
+
+prototypejs (1.7.0-1) experimental; urgency=low
+
+  * New upstream version
+  * changed standards version to 3.9.1
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Thu, 30 Dec 2010 20:59:00 +0200
+
+prototypejs (1.6.1-1) unstable; urgency=low
+
+  * New upstream version
+    - Full compatibility with new browsers
+    - Element metadata storage
+    - New mouse events
+    - Improved performance and housekeeping
+    - Built with Sprockets
+    - Inline documentation with PDoc
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Mon, 07 Sep 2009 21:43:00 +0200
+
+prototypejs (1.6.0.3-2) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Prefixing debhelper files with package name.
+  * Minimizing rules file.
+  * Updating year in copyright file.
+  * Updating package to standards version 3.8.3.
+  * Removing vcs fields.
+
+  [ Frank Habermann ]
+  * New maintainer, taking over package from Daniel
+
+ -- Frank Habermann <lordlamer@lordlamer.de>  Wed, 26 Aug 2009 20:57:00 +0200
+
+prototypejs (1.6.0.3-1) unstable; urgency=low
+
+  [ Marcelo Jorge Vieira (metal) ]
+  * Added watch file
+
+  [ Daniel Baumann ]
+  * Removing line break in watch file.
+  * Updating to standards 3.8.0.
+  * Updating package to debhelper 7.
+  * Merging upstream version 1.6.0.3.
+  * Updating links file for new upstream version.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 12 Oct 2008 18:45:00 +0200
+
+prototypejs (1.6.0.2-4) unstable; urgency=low
+
+  [ Steve Kemp ]
+  * Added myself to uploaders field
+
+  [ Daniel Baumann ]
+  * Removing outdated conficts/replaces.
+  * Updating vcs fields in control file.
+  * Setting maintainer field to javascript group.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 10 May 2008 19:09:00 +0200
+
+prototypejs (1.6.0.2-3) unstable; urgency=low
+
+  * Downgrading relation to javascript-common from depends to
+    recommends.
+  * Changing license of the debian files to same license as upstream.
+  * Adding README.Debian.
+  * Renaming binary package to libjs-prototype.
+  * Adding dependency against javascript-common.
+  * Adding Marcelo as comaintainer.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 30 Mar 2008 00:22:00 +0100
+
+prototypejs (1.6.0.2-2) unstable; urgency=low
+
+  * Adding vcs fields in control.
+  * Rewriting copyright in machine-interpretable format.
+  * Replacing install target in rules with debhelper files.
+  * Reordering targets in rules.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 24 Feb 2008 21:31:00 +0100
+
+prototypejs (1.6.0.2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 16 Feb 2008 09:13:00 +0100
--- prototypejs-1.7.1.orig/debian/libjs-prototype.README.Debian
+++ prototypejs-1.7.1/debian/libjs-prototype.README.Debian
@@ -0,0 +1,10 @@
+libjs-prototype for Debian
+--------------------------
+
+In order to make use of prototype in your html, include the following lines in
+your html header:
+
+	<script language="javascript" type="text/javascript"
+	src="/javascript/prototype/prototype.js"></script>
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 27 Feb 2008 00:02:00 +0100
--- prototypejs-1.7.1.orig/debian/libjs-prototype.links
+++ prototypejs-1.7.1/debian/libjs-prototype.links
@@ -0,0 +1,3 @@
+/usr/share/javascript/prototype/prototype-1.7.1.js	/usr/share/javascript/prototype/prototype.js
+/usr/share/javascript/prototype/prototype-1.7.1.js	/usr/share/javascript/prototype/prototype-1.js
+/usr/share/javascript/prototype/prototype-1.7.1.js	/usr/share/javascript/prototype/prototype-1.7.js
--- prototypejs-1.7.1.orig/debian/copyright
+++ prototypejs-1.7.1/debian/copyright
@@ -0,0 +1,38 @@
+Author: Sam Stephenson <sam@conio.net>
+Download: http://www.prototypejs.org/
+
+Files: *
+Copyright: (C) 2005-2008 Sam Stephenson <sam@conio.net>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+Files: debian/*
+Copyright: (C) 2008-2009 Daniel Baumann <daniel@debian.org>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
