Feature/javascript helpers