wire up js