Move js to resources. Documentation support!