Made resource URLs protocol-independent
Fixed borked protocol-relative URLs (woops)
jQuerified things up a bit
Silenced the (while appreciated) verbose debug message