Add conditional brackets and do some output type-casting in `bp_core_add_cropper_inline_js()`.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8629 cdf35c40-ae34-48e0-9cc9-0c9da1808c22