Properly pass pack the JS script body