JP doubles Q2 profit; commits to maintaining investment prog