Parse quoted arguments

This should allow strings and javascript expressions with interleaved spaces
Remove unused startsWith function