Update app.js

Allows the visualization of http and https URLs