The Pushy Client-Side javascript