load javascript in a non-blocking fashion