Revert "load libs via url"

This reverts commit 401b17e939614f73f8b23a3758207aa7d774e723.
updated motion2d.html to be non-port specific
added socket support for ports (play and stop)