trips it's own .js and .jade file
check if location type is empty