adding JS support for id and pt languages