Bug fixes, jshint fixes in manage_asm_types js