avoid js extension (may cause inclusion in generated code)
remove unused file
fix duplicate unit bug with new typechecker, cleanup unchecked warnings