fix: updated javascript to working status - still need to test output