fixed bad JS import
fixed import & indentation