using synchronous method
Fixed javascript closure, and create a dynamic version of the server... not bad :p
Merge branch 'issue#4'