Convert pushstate to js

Missing space before the `{`.