fixed js readability