changed api base path
added js dist task