Fixed last function in JSIL project