cake and lib/.js