replaced clj/cljs compilation identification function with cleaner option