Fix javascript 'float' and 'int' functions

Hello, I am a new user of PythonJS and GitHub.
So, forgive my errors...

```
float("14") < float("2")    now returns 'false'
float('a') int('a')         raises an exception
```

window object is no more used in order to be compatible
with server side JavaScript