Minor code style/performance optimizations
Fixes #172. Bad JavaScript inlining when prototyping text contains "//".