New Javascript version for client