Reorder js dependencies so Boostrap works