JsInline: replace return statements with assignment and break
JsInline: added second call to count in inlineLoop test case