Added js function declaration styles