fixed hint returns
improving UX
fixed mistakes
variable renamings for javascript