correction javasript call functions