<script src="cropper/lib/prototype.js" type="text/javascript"></script>      
<script src="cropper/lib/scriptaculous.js?load=builder,effects,dragdrop" 
type="text/javascript"></script>
<script src="cropper/smokeping-zoom.js" type="text/javascript"></script>

However, the Debian smokeping package depends on libjs-prototype and 
libjs-scriptaculous (among others), both of which install their files to 
/usr/share/javascript/. The smokeping install creates these files in 
/usr/share/smokeping/www/:

prototype -> ../../javascript/prototype
scriptaculous -> ../../javascript/scriptaculous
smokeping-zoom.js

When smokeping.cgi loads /etc/smokeping/basepage.html, the user will get a 
number of 404s. The <script/> elements should probably point to the correction 
locations set up in /usr/share/smokeping/www/:

<script src="prototype/prototype.js" type="text/javascript"></script>      
<script src="scriptaculous/scriptaculous.js?load=builder,effects,dragdrop" 
type="text/javascript"></script>
<script src="smokeping-zoom.js" type="text/javascript"></script>

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-x86_64-linode72 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)