Revert "fix caps of JS"

This reverts commit db252c174a4a3021dd78b9e9e3313ed1533df01e.