Revert "Javasript updates"

This reverts commit 09388d1cf4846a4ad174335d821fdcdb077e38d4.