hw js