write out html and side js when html output is requested, to improve page load times
handle empty inline asms; fixes #1729
Added a ChangeLog.