remove iife from around front-end.js

fixed bug that would not pass peer stream to webrtc.onRemoteStream
function

Added element creation to webrtc.onremotestream and pass it to
onRemoteStream