added an extra mock to expand_javascript test