#50 updating bad references to 'caplin' inside Javascript libs

Please can you review, @andyberry88?
CC: @thecapdan, @dchambers