Revert "Fixed incorrect javascript dependency."

This reverts commit f02dd48385a69744a8d504914926011b6c9ed19c.