some possible changes/additions to websocket example

I made some changes and additions to show more how cowboy can do things

make certs on every compile so you don't have to add to repo
show static use with jquery file
added port variables for more dynamic use if ports are added to .app.src file
added port variables in erlang/js code for more dynamic use in port changes

thanks!