Fixed incorrect Javascript selection