Extract javascript