add initial support for overriding functions from kernel map
asm.js validation fix
consolidate include sections
place asm.js exports in include section