Compile semantic-block javascript