Fixed javascript issues.
Added missing directory